import request from '@/utils/request'

// 拼车单
export function SY_Alter(data) {
	console.log(data);
	return request({
		url: '/AppPro/ApplyCar/SY_Alter',
		method: 'post',
		params: data
	})
}

// 派单列表
export function Driver_GetList(data) {
	console.log(data);
	return request({
		url: '/AppPro/Driver_GetList',
		method: 'post',
		params: data
	})
}

export function WD(data) {
	console.log(data);
	return request({
		url: '/AppPro/WD',
		method: 'post',
		params: data
	})
}


//接单
export function Driver_Confirm(data) {
	console.log(data);
	return request({
		url: '/AppPro/Driver_Confirm',
		method: 'post',
		params: data
	})
}

//出车
export function Driver_OutRegistration(data) {
	console.log(data);
	return request({
		url: '/AppPro/Driver_OutRegistration',
		method: 'post',
		params: data
	})
}

//回车
export function cmdApplyCarCost(data) {
	console.log(data);
	return request({
		url: '/AppPro/cmdApplyCarCost',
		method: 'post',
		params: data
	})
}

//定位车辆
export function GetCarLocation(data) {
	console.log(data);
	return request({
		url: '/AppPro/GetCarLocation',
		method: 'post',
		params: data
	})
}
